package com.rtx.edi.platform.jobextend.job.httpjob;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.rtx.api.quartz.job.BaseJob;
import com.rtx.edi.platform.handler.ApiJobHandler;

@Component
@DisallowConcurrentExecution
public class HttpRequestJob implements BaseJob{

	@Autowired
	private ApiJobHandler apiJobHandler;

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		JobDataMap dataMap = context.getJobDetail().getJobDataMap();
		String apiMappingCode = dataMap.get("apiMappingCode")+"";
		String requesturl = dataMap.get("requesturl")+"";
		String jobname = dataMap.get("jobname")+"";
		
	}

}
